package com.yuxl.admin.common.socket.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Set;

/**
 * @Author : yuxl
 * @create 2024/10/30 17:57
 */
@Data
public class SocketInMessage implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "路径")
    private String path;

    @Schema(description = "文本")
    private String message;

    @Schema(description = "消息来源方")
    private String username;

    @Schema(description = "消息接收方")
    private String to;

    @Schema(description = "消息接收方组")
    private Set<String> toList;
}
